package com.variables;

import java.util.List;

public class Emplyee {
int id;
String name;
List<Address> address;
Emplyee(){}
Emplyee(int id,String name){
	this.id=id;
	this.name=name;
}
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public List<Address> getAddress() {
	return address;
}
public void setAddress(List<Address> address) {
	this.address = address;
}
public String toString(){
	return id+"\t"+name+"\t"+address;
}
}
